Error:URL rejected: Malformed input to a URL function both - PowerPoint Presentations and PDF Documents